Skip to content

Conversation

@odersky
Copy link
Contributor

@odersky odersky commented Feb 15, 2019

No description provided.

Exempt combinations of Java fields and methods from being flagged
as double definitions.

Java fields don't get a getter, so the pattern

    int f
    int f() = f

is OK (and quite common).
@odersky odersky merged commit 2b0e4a1 into scala:master Feb 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants